Problem with replace for xml files fixed