fix: generating enum-states