fixes #2965 (empty title in publish)

fixes #2965