The problem is fixing the bug and not only fixing the code, but applying the fix in production in a timely manner and without interrupting the business.
Seems like we are paying down decades of technical debt created by very fast and loose programming.