modify the list init bug in mem_pool.c