modify the SList and correct the result