change to xml config