fix prev/next page link