Fixes NULL pointer dereference CID66