fix traceback. Fixes #7340
add missing icon