corrected EventListener