$this->path is not declared