fixed check box error when not clicked