Fixing few bugs with HashTree persistent storage