fix an malformed tag