handling some exceptions