finally fixed addOneRec