Fixed timestamp reading problems