fixed cascade-command bug for windows platform