fixed section deletion in config file