more work on getting autocomplete query working agian