delete nthreads from print function