some correction by pylint