fixed pylint issues