search controller fix