As for your error. Please check the CSV for that row. There may be an extra column on the end if there's a space, which would explain the problem. You may need to add a little error checking to make sure each row has exactly the number of columns you expect it to have.