Fixed bug when accessing dict objects. It is extrange this error prevailed here