fix spectate bug.