Fixed a bug with empty title tags