fixing TMVar.