fix up code to meet pep8 standards