forgot to update a few variable names
fixing search url syntax