ensure unique values in extract_vars list
use a set rather than list(set())