typo in event listener