fixed config file creation.