Fix hash parsing.