cleanup
fix a bound limit error