fix list_duplicate