modified AttachDictionary