Fixed previous error in upload