fix search request when params search doesn't exit