resolved flake8 all warnings