trying to solve issue on next page link