FIX Added comment and fixed the tag replacement.