fixes to get working on sharedhash example