Change \frac{1}{S} to 1/S.