fix: some pylint warnings