Fix a problem when we generate a new model and the bundle already have an existing model