The static global variable problems are fixed