fixed xml validation