fix RunCmd plugin