fix wrong arguments when executing local shell command