handle faulty xml