re-added some config initialization