Properly set title

Fixes #81
Merge pull request #1 from ericboehs/patch-2

Properly set title