simplify the dictionary