remote command bugfix