fix a spider init problem