Temp fix for root dirs config resetting