fixed major defects and checkboxes