fix integer bounds checking