dock:: fix xterm gets wrong appid