bugfix for config file