Repaired a bug with model generation when type is not specified