cmdpath fix