changed config to global