fix a warning for the objectDictionary property