Ro-org code to handle disattached head state when you use hashs