Fix printing of model