better fallback exception handling