list->dict bug