fixed sub-guid issue, replaceall regex inserted