fixes to search connection string