Fixed csv bug
Fixes