Fix warning if  is null