fix some config issues