pep8 and docstring fix