fix the initial threading count