fix search stuff on public