fix CSV parser bug
Merge branch 'fixcsv'
remove debug code