handle exception 2
release mode