fix the bug of csbt-shell.