Fix issue in addInstance when meta is unplugged