fixed ComputeSpectrum callback
fixed ComputeSpectrum callback