fix #4065
fix pep8