fixed the reading one object issue then stopping