fix node from nowhere bug