fixed bug that can happen in ConfigBuilder if two variations of the same config happen at the same time, race condition.