Remove duplicated section in config file