added exception hook
0.3 release