make checkbox editing work