fixed segfault in search params ii