Change the type of shaToOid
Whitespace fix