fixed a bunch of pep8 warnings