fix typo hast -> hash
Merge branch '21-misc-cleanup' into 22-var-dotcode