a couple of fixes in GoTerm class