models fix