small improvement on term controller