use old uid only if the new one isn't already present