Captions sometimes saved in raw, sometimes not

Here is the output for a successful raw caption: