fixMaxChanges