hard exception matching hack