Change Markup, to fix Pagination