can read xml file correctly