use variant id instead of name