Bugfix for csv encoding issue