handle no config file, bugfix for set_var method