fix paginator bug in single post page