simplify hash