One more bugfix to replay uploading