fixed pyflakes