corrections to csv loading