Deleting useless xml