improve cryptic error message