fix wrong parent for checkboxes