make sure model are initialized