The only certain fix is a redesign of the gearbox, IMO of course.
They seem unwilling or unable to design a proper gearbox. Many Ioniq gearbox failures have been reported in German forums and other places where these cars were sold in significant numbers. Most developed a whistling noise but I also saw reports of clicking. Here in USA, they only sold a handful the past few years so not much is posted about them.