few pep8, pylint fixes