Don't cast flavor to an int, some new flavors won't be integers