fixed missing $this->