fix misplaced links