fixed little bug with items per page