Fixing checkboxes so they work