Fix Corrupted XML