stop parsing config xml files multiple times, do it only once