fix some reports by pylint