fix for back button in browser + typeahead