fix several bugs for node estimator