Fixed another error in cmd.eh