bug fix for type inference on csv file adding