Unfortunately fault codes do not always point to a fix and your code may have been spurious. A quick look through live data should be next on your list. Does the throttle pedal and throttle position match in live data? Does the CTS reading look ok? Did you try a throttle body adaption? Does anything else look wrong in live data? On these it is not a good idea to clear the codes before you look at live data as you reset adaptions and so lose the fuel trims.