openCsv not working correctly