change default of nthread