out of bounds fix#2