fix version error for Gen