fix csv reader