fixed the blog pagination