fixed usage of "dict" which is actually the dictionary object, renamed to more useful repos