fix xml response mode