set linked to true before evaluating if id are permanent.