fixed bug with typoEnum