fix prev_root_hash