fix minor problem when using the config.commondb setting.