Fix page link behaviour