Fix native engine