add global config to remove warning