fix setting id and winelevel when registrate new wine