fixed search API server bug