fixing some config file creation