Fix in model converter: check the value before create a new model