almost solved nice-node bug