syntax fix, wrap stab setting behind test featrue compile switch