[PATCH 1/7] fix hnode refcounting