quick fix for resources but no spectra check