bug fixes on global configuration