deleted procedures to deleted buttons and check box