Fix rowData overrite bug

Row data is ovewritten making CSV to contain just the last row