Fixed bug

Fixed the bug that was causing the ArrayOutOfBounds in paging server