Some nullchecks