make hash module work with Canary