csv reader improvements