range="before" not working?