fix inaccurate refs when first step is over a dupe