fixed lxml encoding issue