improve exception message