bs4 api change fixes