fixing upgrade breaking config