remove references to the addnew flag