uploading fixes