Fix a remote command