fix toy gen problem