fix issue with erased iterator in processRead