fix crash when exporting bad macro with no icon