wavelet repair