check if name is null