Re: prevent dereferencing null