Fixed S2Sd = S2Mean bug