https://github.com/DiGyt/asrpy/blob/15cda1913fd822da9794c69240ff08f58fbfddc4/asrpy/asr.py#L782 An additional line ``` clean = X.copy() ``` should probably added after line 782 in asr.py. Otherwise, the variable ```clean``` will be missing when the whole data is clean.