fix flake8 issues