fix typo causing nested repeat operator warning