added isurl(url) check