Fix invalid pointer null check