add more detail on error message