fixed error in url object