improve display title output logic
Merge pull request #35 from atlasapi/display-title

improve display title output logic