Attempt to fix potential error caused by null

ika's crash caused concern