Fix errors on csvupload