fix pyflakes/pep8