fix bug about the id is null when add pull record