removed odd html tags from pagination