fixed to return array for search services by name