fix pep8 lines too long and too many blank lines