fix for dynamic title printing
Merge pull request #8 from amandacdillon/fix-titles

fix for dynamic title printing