fix default thread define