You need to fully uninstall Kaspersky before using avast again…

Search for thumbs.com in the registry then…