more informative error message