embedded icon, checking for keys to avoid crashing