fix backup error in remote_file