handle overflows on input