removed flake8 errors