Fixed csv problems