removing dead xml