event handler cleared