Fix old code left in trans.cpp