Bugfix copy of config file