Fixed typo in event firing.