fixing a bug when og:title doesn't have content attribute to return nil and not log function