bug fix in NodeManager