clean some flake8 warnings