refine init method for ContactModel & DeviceModel