try to fix the ycm reported-error in Exception