fix the init order