Fixed bug of always return the seek in array