Fix typo, mesage_dict->messagd_dict