main: more helpful error message