added setting spage