Fix wine edit form bug