fix the prefix and email for exception