Fix extension config bug