fix relation tags