bugfix
regain threads manager