fix tengine