minor adjustments for flake8 compliance