update python xml parsing problems