Fix a bug that allows cmd <n >m