fix issue where not creating last zombie if at end of file