fix instance models