fixing model