correct pylint issues