fixing linking issues with pages