clean lm_hash