change get_merkle behavior