nicer error message for config file error