Fixed wrong dict reference