make checkbox synchronized