fix remote-bash invocation