Fixed bug from confrimtion of inputing bad url