fixes on flake8