fix mismatched links