fix unlinking of not nodes in phreak