small fixes in lxml usage, new bs4 version