fix the new page bug with latest wkhtmltopdf