fixed checkboxes not working