change adapter to manage {model1.model2.attr}