updated url check to falsey