adjust threads