Fixed connection string and TTH parsing bug