fixed several previously ignored pep8 errors.