Typo in event dispatching