Corrected for excess data on write.