Wanting to correct a mistake brings doership and doership is the foundation for mistakes. Often, those who are trying to correct mistakes get caught up in more mistakes. Those who recognize their are mistakes are freed from them.
Often, when one acknowledges a mistake, one tries to justify it, without taking responsibility for it. And sometimes one accepts that one made a mistake and starts justifying it or feeling guilty about it. Mistakes get dropped when one is troubled by ones conscience (viveka) or grief.
There may be flaws in any action, any situation or any person. Treat a flaw as you would treat a flower. Just as a flower has to wither away after sometime, so does a flaw.