IndexError upon setting the zoom

Hello
When using SZ to set the zoom of a windows, zoom cannot be set and it appears the next error:

“IndexError:
list index out of range”

It happens with both v3.0 and v3.1 and it happens always when using 3D spectrum but also sometimes (I still could not find exactly when) in 2D spectrum.
Many thanks in advance