better fix for public hash
Merge pull request #37 from guardianproject/harlo_bug_2746

better fix for public hash