Bugfix for remote command execution