select most compatible flavor, check int instead of strings.