fix reading csv