xml reading in correctly