add code and test to catch previously uncaught case