resolved bug when use remoteExec with localhost