clean code slightly

fixes a few pep8 errors.