modify task init order