fixed all thread count set error