Fixed virtual missing bug in notShared and isShared