ticket: 9 pyflakes fixed