uncommented clearEvent