Fix checkbox event