fix a bug when modify relation