fix pylint warning from the previous commit