corrections from Pylint