HotFix for todays patch

Changed TOC to right versioning
Changed to use CodeEnum as introduced in the patch