some typo's and pep8 fixes