enhanced error message