fixed reading csv file