Fix preparing in Type model