fix dshell exception