Revert "remove getSupSRotation and move code do it locally"

This reverts commit d6e9a0efc97ae6bc60e3058718145b4157aab930.
Revert "Revert "remove getSupSRotation and move code do it locally""

This reverts commit 9b50c19608417bba0a21cf210d0c97c958a5752c.
Revert "remove getSupSRotation and move code do it locally"

This reverts commit d6e9a0efc97ae6bc60e3058718145b4157aab930.
fix a typo