fix import _smooth_array