clean and hash