fixed csv parsing issue