fix pyflakes issue