cosmetic changes to error handling when parsing origin date