small changes used by tgmUniCont