fix email on exception