use correct object to get the design document