fixed checkboxes being always hidden