- fix potential crash