Fix incorrect use of new dictionary