fix: term definitions not saving