deal with input value already equal to bound