search history fix