fixed pylint warning.