fix bug: player -> self.player