remove doubles in @value_hash