add more info to error message