Fixed a dictionary unpacking error