fix pyflakes error