A contract may be modified to correct or mitigate the effect of a mistake. Examples are the following: