Fixed bug in build initial dictionary.