fixes bug with pagination index
changes page size to 5 items