fix a bound limit error