fix init order.