fix for paginator