package: rearrange dependency