fixed so when you press submit with no checkboxes selected you dont get an error