- remove duplicate code in Config.pm