fixed one line typo in smooth_sem utility