fix for error classes on checkboxes