fixed flake8 compliance