Tweak to spectralindex read/write