graceflul handling when no nodes are available