fixed the spectrum readin
fixed one last problem with the new config