Fixed lua order error.