fixes some 500 if there is no title
Merge pull request #2530 from digi604/fix-2388

fixes some 500 if there is no title