patch: fix of configuration file generation