correct path in build_dictionary