revering changes to event-listener