guard against a title element that is null.