tengine bug fix