Fixed variant generation did not work