fixed csv problems