cmd type fix