fixed fomating for xml