copy list before filtering