Fix issue when confi.xml is emtpy