improve readability of some exceptions caught b