dumper typo fix and countevents return 0 when not being able to read