change some stuff of threadpooling