fix paginated