Fix cmd running