Fixed issue where an empty title could raise error