fix: saving related term in terms