compatibility pep8, removed unused import