fix xml declarations