fix 2 flake8 errors