In your code I see that you have defined $searchq and you are using $search_q