fix new term error