caught some exceptions