Avoid crash

PLAT-1629 #time 1h