fix for search url bug