make sure url is present