Fixed some bugs with titles.