adjust module dependency sequence