Hi @fea_99, that specific code issue was resolved on February 24th, 2023
Please download the latest stable release Slicer 5.2.2 (if you haven’t already) and install the latest version of the extension. https://download.slicer.org/
Also see the following thread about staying up-to-date with extensions. As a reminder the latest versions of extensions are only available when using the latest Stable release of Slicer (currently 5.2.2) or the latest Slicer Preview.