fix output num thread