fixing flake8 issues