fix sb bug