Fixed bug in process csv iterator