fix instance_physics_model save and added some recurses