corrected flake8 errors on master