cleaned up events in checkbox