xml parsing fix