fix the bug in insert list