fixing issue with bs4 and html.parser