Fix variable names for merge-nodes