bounds fix