fix thread private date problem
fix thread private data problem