Fix some bugs in skiplist