Fix pattern name variable.