fixing migrate error coming from non-existing event nodes