¶2Theodore T. Fisher was convicted by a Jefferson County jury of possession of a forged instrument in the second degree and sentenced to the minimum of 15 years' imprisonment in the penitentiary under the Habitual Felony Offenders Act. On appeal he assigns two errors.
¶4We have held in Pinkard v. State, 405 So.2d 411 (Ala.Cr.App. 1981), that a plea to the merits of an indictment waives the opportunity to plead to the indictment itself. This court stated in Edwards v. State, 379 So.2d 336 (Ala.Cr.App. 1979),cert. denied, 379 So.2d 339 (Ala. 1980), that:
¶5 "Generally, a demurrer is the proper procedure to raise defects in an indictment. Since a plea to the merits admits the validity of an indictment, a demurrer filed after arraignment and after a plea of not guilty is properly stricken . . . The right to file a demurrer is waived unless the demurrer is filed before a plea to the merits." Quoted in Flowers v. State, 402 So.2d 1088 (Ala.Cr.App.), writ denied, 402 So.2d 1094 (Ala. 1981).
¶6The plea being untimely, we are left with nothing to review. See Edwards, supra. Even if the pleading to the indictment, by whatever name called, was timely made, the substantial rights of the accused would not have been affected by the error or variance charged. A variance must be material and it must mislead the accused or be substantially injurious to him in the preparation of his defense. Coker v. State, 396 So.2d 1094 (Ala.Cr.App. 1981). The court did not err in denying this motion.
¶8Where the accused admits the prior convictions at trial, there is no legal requirement for notice. Thompson v. State,405 So.2d 717 (Ala.Cr.App.), writ denied, 405 So.2d 721 (Ala. 1981).
¶9Appellant Fisher was therefore not injured by the scrivener's error and the same will not serve as a basis for remand.
¶10This case is due to be affirmed.
¶11AFFIRMED.