fix linked pages