fixed flake8 violations