additional fix to allow setting of newId