add set prevFrameOffset when initial read of wal