Fix out of bounds.