fix typo to ensure string is lowercase