XML print fix