Fixed bug related to changing config XML