add more explicit information in error message