make errors more informative