Fix search controller