fixed sshared.lua