fixes an empty title attribute error
Merge pull request #2944 from digi604/fix-2943

fixes an empty title attribute error