don't write key in desktop mode