BUG - unable to excute code after produce a exception