hash cleaning