fixed error in nproc usage