fix exception mail settings