fixed the num of posts on rendered page is not per_page as configration, but actually per_page - 1