change the integer limits check