fix default threads