fixes incorrect csv data