fix pep8/pylint violations