Bugfixing checkboxes