isolating config correctly