fix $this->isAdmin() check