code cleanup to use multipleStringReplace()