fix get_merkle