fix some pep8 issues and a typo