bugfix in multihash impl