fix setup phase in integration.