silence exceptions during cxa_free_exception
eliminate into switch cases