Make hash the same type everywhere.