manage handle exception