fixes #2965
Merge pull request #2966 from digi604/fix-2965

fixes #2965 (empty title in publish)