working changes to fix the 6 month outage.  revolves around the use of an enum instead of strings

author fix.