Fixed the event-binding syntax