fix bug: search for root url regex