fix a import problem when use latest BS4