Fix string length in core_snapshot