fix MPS-19080 [build:MPS-129.380] Exception: Index: -1