minor changes to getHash-Command