pylint issues fixed