CAT12 segmentation problem

Hi all. I have spm/ cat12 installed as plugins via brainstorm and all are the updated versions. I am using windows 10. When trying to segment using CAT12 on brainstorm I get this error:

** Error: Line 237: Index exceeds the number of array elements (1).
**
** Call stack:
** >process_segment_cat12.m>Compute at 237
** >process_segment_cat12.m>ComputeInteractive at 444
** >process_segment_cat12.m at 28
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@process_segment_cat12,'ComputeInteractive',iSubject,iAnatomy) at 2986

Can anyone help? Thanks in advance

This error indicates there is something wrong in your database.
Right-click on the subject folder > Reload, then try again.
Or try creating a new subject and importing the MRI to segment again (and then right-click on the MRI > MRI segmentation > CAT12).

If you still get an error, please post screen captures of your Brainstorm database explorer showing the selected MRI you want to segment + a screen capture showing the menu you click on to get this error.

(Make sure Brainstorm is up-to-date)