fixed a one line typo in smooth_sem utility