properly handle exception