added debug message if event has no listeners attached