Fixed model generation bug.