adding a catch on the url open