fix variant relations.