have nice error messages during cfg parse.