Fixed a dictionary default value error.