fixed list_delete