Fix hash destroying.