Corrected bug in STP macros (wrong SO byte)