fix minibufexpl disappear when exit erroring.