mean spectrum now takes correct mean