fixed
url checking added