fix add new term. resolves issue #7