minor change
added param tex_engine