making errors more user friendly