fix pep8/pylint issues