fixing spectral package