Removing this broke the pagination