fix global configure