Fix error change $url to $this->url