added a check on the url