minor spelling fixes in the shared.lua