use oldid properly