fix one bug on variety
bug fix