small corrections to pep8 accordance
remove unused imports