fix bug in DictAccessorMixin