fix pylint warning