improve enumerations in generated GUI