Fix zlist_dup