fixed ArrayOutOfBounds exception in seekId method