Fixed config file generation error