just a few pyflakes fixes