some config fixes