required checkbox fix