fixed several pep8 style issues