fixed the chooseCSVFile bug