make sure titles are escaped