create URL the correct way to get delegate called