fixing versioning problem with Beautiful Soup