Fix search API