I will remove all global thread unsafe variable.