Fix up uploading