cloud_hash: fix bug