simplify translation compile.