correct auto-uploading when offline then come back on again