Tried to fix SHAREDMEMORY errors