dealt with interference between configfile and loeadiTemplates