remove some thread local global variables
improve
improve