Actually call the event, and fix an if statement