resolve checkNums warnings