updated found url logic