fix wrong key and workaround with config file location