Modify for tengine