remove unnecessary and broken thread private data use from GMS