fix run command workpath bug