fixes for flake8