Fixed the DHD to encode the number correctly (in base 39 instead of using base 10)