null-ref #225
redesigned enum parse routine