bugfix to the calculation of runnable procs.