fix setsmoothing