model type lookup fix