Remove redundant xml