clean up xml code and remove redundant --harmony