fixed model inferrer