bug fixed on array autosp and forcesp mode