Fix background uploading