events were using classes instead of event names