fixed switching between configs