fix upload error messages