solved stupid bug with previous page link