workaround for js problem with checkboxes