fix more exception catching (#102)