corrected TMStamp storage