fixed checkboxes are not selected on click