Fixing spilight read/write.