How exchange rate regimes are exacerbating or mitigating the resource curse?