fix bug: crash in ui csbs

fix bug: crash in ui csbs