make sure default value in enumeration at construction time is properly handled