Fix when specral index is single value