fixes to the dictionaries, remove illegal chars