now xml reading is correct