refactor string tag to name