follow latest string refactor in source-gen script