fix some pylint error