add more information to error message