fix typo for enum