bug fix: events weren't being registered unless there was a created fn() defined