Adding clear not working for some event if needed.