fixing wrongly used instanceId and networkpartitionid