add fn clearCbStack