MODULES: CORE: fix broken string-replace-substring