fix variant builder