fix read csv bug