fixed bug with registration form checkboxes