fix pylint complaints