change the mistakes in the dict