fixes panic error index out of bounds
in conflicting error
#127948
Merged
index out of bounds
in conflicting error
#127948