fixing what appeared to be a dictionary merging problem