Added checksum check before saving data in strs