fixed pyflakes check