fixed one import
and flake8 issues