related to #193: report unexpected error cases