fix pylint issues