debug info and return events properly