fixed pagination of items