fix MODEL bug